<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      newt-0.52.21
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;10.&nbsp;Graphics and Font Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="mypaint-brushes.html" title=
          "mypaint-brushes-1.3.0">Prev</a>
          <p>
            mypaint-brushes-1.3.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="opencv.html" title="opencv-4.2.0">Next</a>
          <p>
            opencv-4.2.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="newt" name="newt"></a>newt-0.52.21
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to newt
        </h2>
        <p>
          <span class="application">Newt</span> is a programming library for
          color text mode, widget based user interfaces. It can be used to
          add stacked windows, entry widgets, checkboxes, radio buttons,
          labels, plain text fields, scrollbars, etc., to text mode user
          interfaces. <span class="application">Newt</span> is based on the
          S-Lang library.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://releases.pagure.org/newt/newt-0.52.21.tar.gz">https://releases.pagure.org/newt/newt-0.52.21.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: a0a5fd6b53bb167a65e15996b249ebb5
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 172 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 6.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Newt Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="popt.html" title="Popt-1.16">popt-1.16</a>
          and <a class="xref" href="slang.html" title=
          "slang-2.3.2">slang-2.3.2</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="tcl.html" title="Tcl-8.6.10">Tcl-8.6.10</a>
          and <a class="xref" href="gpm.html" title=
          "GPM-1.20.7">GPM-1.20.7</a> (runtime)
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="python2.html" title=
          "Python-2.7.17">Python-2.7.17</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/newt">http://wiki.linuxfromscratch.org/blfs/wiki/newt</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of newt
        </h2>
        <p>
          Install <span class="application">newt</span> by running the
          following command:
        </p>
        <pre class="userinput">
<kbd class="command">sed -e 's/^LIBNEWT =/#&amp;/' \
    -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
    -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
    -i Makefile.in                           &amp;&amp;

./configure --prefix=/usr --with-gpm-support &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--with-gpm-support</code></em>: This
          switch enables mouse support for newt applications through GPM.
        </p>
        <p>
          <span class="command"><strong>sed -e ... -i
          Makefile.in</strong></span>: Disables installation of a static
          library.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">whiptail</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libnewt.so, whiptcl.so, and
              /usr/lib/python{2.7,3.8}/site-packages/_snack.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="whiptail-prog" name=
                    "whiptail-prog"></a><span class="term"><span class=
                    "command"><strong>whiptail</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    displays dialog boxes from shell scripts.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libnewt-lib" name="libnewt-lib"></a><span class=
                    "term"><code class="filename">libnewt.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the library for color text mode, widget based user
                    interfaces.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="mypaint-brushes.html" title=
          "mypaint-brushes-1.3.0">Prev</a>
          <p>
            mypaint-brushes-1.3.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="opencv.html" title="opencv-4.2.0">Next</a>
          <p>
            opencv-4.2.0
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
